import React from 'react';

const Like = props => {
    let classes = "bi bi-suit-heart"
    if (props.liked) {
        classes += "-fill"
    }
    return (
        <i
            onClick={props.onClick}
            className={classes}
            style={{ cursor: "pointer" }}
        ></i>
    );
}

export default Like;